#!/bin/sh
export OPENRAM_TECH="/home/xiaoyu/Tools/OpenRAM//technology"
echo "$(date): Starting LVS using Netgen /usr/local/bin/netgen"
/usr/local/bin/netgen -noconsole << EOF
lvs {sram_8_64_sky130A.spice sram_8_64_sky130A} {sram_8_64_sky130A.lvs.sp sram_8_64_sky130A} /home/xiaoyu/Tools/OpenRAM/technology/sky130A/tech/setup.tcl sram_8_64_sky130A.lvs.report -full -json
quit
EOF
magic_retcode=$?
echo "$(date): Finished ($magic_retcode) LVS using Netgen /usr/local/bin/netgen"
exit $magic_retcode
